package models

type Peer struct {
	DeviceId uint   `json:"deviceid" gorm:"primarykey;size:11;comment:ID"`
	UserId   uint   `json:"uid" gorm:"not null;comment:User Id"`
	Id       string `json:"id" gorm:"not null;comment:设备ID;size:16"`
	Username string `json:"username" gorm:"not null;comment:操作系统用户名;size:128"`
	Hostname string `json:"hostname" gorm:"size:128;comment:计算机名"`
	Alias    string `json:"alias" gorm:"size:20;comment:别名"`
	Platform string `json:"platform" gorm:"size:20;comment:平台"`
	Tags     string `json:"tags" gorm:"size:256;comment:标签"`
}
